<script setup lang="ts">
import useUserStore from "@/store/modules/user.ts";

let userStore = useUserStore();
</script>

<template>
  <div class="container">
<!--顶部全局组件-->
    <HospitalTop></HospitalTop>
    <div class="content">
      <router-view></router-view>
    </div>
    <HospitalBottom></HospitalBottom>
<!-- 登录组件   -->
    <Login v-if="userStore.visible"/>
  </div>
</template>

<style scoped lang="scss">
  .container{
    display: flex;
    flex-direction: column;
    align-items: center;
    .content{
      margin-top: 70px;
      width: 1200px;
      //height: 900px;
    }
  }
</style>
